package com.njtech.pet.vo;

import com.njtech.pet.entity.SingleRecord;

import java.util.List;

/**
 * @author lxj
 * Date 2020-03-25 14:56
 * Description 统计数据类
 */
public class StaticRecord {
    String title;
    List<SingleRecord> records;

    @Override
    public String toString() {
        return "StaticRecord{" +
                "title='" + title + '\'' +
                ", records=" + records +
                '}';
    }

    public StaticRecord() {
    }

    public StaticRecord(String title) {
        this.title = title;
    }

    public StaticRecord(String title, List<SingleRecord> records) {
        this.title = title;
        this.records = records;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<SingleRecord> getRecords() {
        return records;
    }

    public void setRecords(List<SingleRecord> records) {
        this.records = records;
    }
}
